package com.draemoncode;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import com.draemoncode.socket.MinaAcceptListener;

@SpringBootApplication
public class WeixinduboApplication {

	private static MinaAcceptListener minaAcceptListener = new MinaAcceptListener();
	
	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(WeixinduboApplication.class, args);
		minaAcceptListener.init(7100);
	}
}
